$OpenBSD: patch-src_scandir_h,v 1.1 2017/01/05 13:50:49 tb Exp $

Fix heap overflow.
https://github.com/ggreer/the_silver_searcher/pull/1040/

--- src/scandir.h.orig	Mon Nov 28 06:07:11 2016
+++ src/scandir.h	Tue Jan  3 22:16:05 2017
@@ -7,6 +7,7 @@ typedef struct {
     const ignores *ig;
     const char *base_path;
     size_t base_path_len;
+    const char *path_start;
 } scandir_baton_t;
 
 typedef int (*filter_fp)(const char *path, const struct dirent *, void *);
